package com.jinwei.qunguanjia.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * http全局返回码
 *
 * @author yuanzs
 */
@AllArgsConstructor
@Getter
public enum HttpResponseEnum {


    SUCCESS("200", "成功"),
    UNAUTHORIZED("401", "未授权"),
    FORBIDDEN("403", "没有权限"),
    NOT_FOUND("404", "此接口不存在"),
    INTERNAL_SERVER_ERROR("500", "服务异常,请联系管理员");

    private String code;
    private String desc;

}
